package service.impl;

import java.sql.SQLException;
import java.util.List;

import domain.vo.queryObject;
import module.WorkSchedule;
import service.WorkscheduleService;

/**
 * 
* @ClassName: WorkScheduleServiceImple 
* @Description: WorkScheduleServiceImple
* @author chenchao
* @date 2014年2月17日 上午10:23:59 
*
 */
public class WorkScheduleServiceImple extends WorkscheduleService {

	/* (非 Javadoc) 
	* <p>Title: getById</p> 
	* <p>Description: </p> 
	* @param id
	* @return
	* @throws SQLException 
	* @see service.basicService#getById(java.lang.String) 
	*/
	@Override
	public WorkSchedule getById(String id) throws SQLException {
		return workScheduleDAO.getById(id);
	}

	/* (非 Javadoc) 
	* <p>Title: insertObject</p> 
	* <p>Description: </p> 
	* @param t
	* @throws SQLException 
	* @see service.basicService#insertObject(java.lang.Object) 
	*/
	@Override
	public void insertObject(WorkSchedule t) throws SQLException {
		workScheduleDAO.insertT(t);
	}

	/* (非 Javadoc) 
	* <p>Title: getObjectByQueryObject</p> 
	* <p>Description: </p> 
	* @param queryObject
	* @return
	* @throws SQLException 
	* @see service.basicService#getObjectByQueryObject(domain.vo.queryObject) 
	*/
	@Override
	public List<WorkSchedule> getObjectByQueryObject(queryObject queryObject)
			throws SQLException {
		return workScheduleDAO.getObjectByQueryObject(queryObject);
	}

	/* (非 Javadoc) 
	* <p>Title: countByQueryObject</p> 
	* <p>Description: </p> 
	* @param queryObject
	* @return
	* @throws SQLException 
	* @see service.basicService#countByQueryObject(domain.vo.queryObject) 
	*/
	@Override
	public int countByQueryObject(queryObject queryObject) throws SQLException {
		return workScheduleDAO.countByQueryObject(queryObject);
	}
	
	

}
